def call(project, branch, version){

    def uhfTemplate = [
        'label' : 'UHF',
        'image' : '192.168.9.38:18082/yidao/jnlp-slave:arm32v7_ubuntu_18.04',
        'gitUrl' : 'ssh://gerrit@192.168.30.243:29418/UHF.git',
        'branch' : branch,
        'buildDir' : 'Embed/App_SourceCode/MH_UHF_PD_ARM',
        'buildScript' : 'make',
        'packageDir' : 'Embed/App_SourceCode/MH_UHF_PD_ARM',
        'packageScript' : "tar -cvf ${version} app_pdsensor",
        'artifactName' : "Embed/App_SourceCode/MH_UHF_PD_ARM/${version}",
        'artifactory' : "Common/${project}"
    ]

    def buildTemplate = [
        'MH_UHF_PD_ARM' : uhfTemplate
    ]

    return buildTemplate.get(project)

}